* {
    margin: 0;
    padding: 0;
}

.avatar {
    img {
        width: 40px;
    }
}

//登录
.wrap {
    height: 100%;
    width: 100%;
    position: absolute;
    background: #30645b;

    // .background {
    //     transform: translate(-50%, -50%);
    //     top: 50%;
    //     left: 50%;
    //     position: absolute;
    //     width: 330px;
    //     height: 480px;

    //     .shape {
    //         width: 60px;
    //         height: 60px;
    //         border-radius: 50%;
    //         position: absolute;
    //         // background: #9EEA6A;
    //         // background: linear-gradient(#e66465, #9198e5);

    //         //top: -100px;
    //         //left: calc(50% - 80px);
    //         top: 0;
    //         left: 260px;
    //         background-image: url(../img/avatar1.png);
    //     }

    //     //.shape:first-child {
    //     //  background: linear-gradient(#e66465, #9198e5);
    //     //  //top: -100px;
    //     //  //left: calc(50% - 80px);
    //     //  top: 0;
    //     //  left: 260px;
    //     //}
    // }

    ._login {
        display: none;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 320px;
        height: 400px;
        background-color: rgba(255, 255, 255, .13);
        border-radius: 10px;
        backdrop-filter: blur(10px);
        border: 2px solid rgba(255, 255, 255, 0.1);
        //box-shadow: 0 0 40px rgba(8,7,16,0.6);
        padding: 50px 35px;

        h3 {
            color: #ccc;
            font-size: 32px;
            text-align: center;
            line-height: 40px;
        }

        labe {
            display: block;
            margin-top: 30px;
            font-size: 16px;
            font-weight: 500;
        }

        input {
            display: block;
            width: 100%;
            height: 40px;
            border-radius: 5px;
            margin-top: 10px;
            font-size: 16px;
            font-weight: 400;
            padding-left: 10px;
            outline: none;
            border: none;
            box-sizing: border-box;
        }

        ::placeholder {
            font-size: 16px;
            font-weight: 400;
        }

        button {
            width: 100%;
            margin-top: 55px;
            padding: 10px 0;
            border-radius: 5px;
            font-size: 24px;
            font-weight: 600;
            border: none;
            outline: none;
            cursor: pointer;
        }

        p {
            color: #D6D6D6;
            text-align: right;
            margin-top: 40px;

            span {
                cursor: pointer;
                color: #cc3825;
                font-weight: 700;
                font-size: 18px;
            }
        }
    }

    ._register {
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 320px;
        height: 400px;
        background-color: rgba(255, 255, 255, .13);
        border-radius: 10px;
        backdrop-filter: blur(10px);
        border: 2px solid rgba(255, 255, 255, 0.1);
        //box-shadow: 0 0 40px rgba(8,7,16,0.6);
        padding: 50px 35px;

        .icon {
            position: absolute;
            left: 10px;
            top: 13px;
            width: 30px;
            cursor: pointer;
        }

        h3 {
            color: #ccc;
            font-size: 32px;
            text-align: center;
            line-height: 40px;
        }

        .nickname_register {
            display: block;
            margin-top: 55px;
            font-size: 16px;
            font-weight: 500;

        }

        labe {
            display: block;
            margin-top: 15px;
            font-size: 16px;
            font-weight: 500;
        }

        input {
            display: block;
            width: 100%;
            height: 40px;
            border-radius: 5px;
            margin-top: 10px;
            font-size: 16px;
            font-weight: 400;
            padding-left: 10px;
            outline: none;
            border: none;
            box-sizing: border-box;
        }

        ::placeholder {
            font-size: 16px;
            font-weight: 400;
        }

        .avatar_selector {
            display: block;
            width: 100%;
            height: 40px;
            border-radius: 5px;
            margin-top: 10px;
            font-size: 16px;
            font-weight: 400;
            padding-left: 10px;
            outline: none;
            border: none;
            box-sizing: border-box;
            cursor: pointer;
        }

        button {
            width: 100%;
            margin-top: 40px;
            padding: 10px 0;
            border-radius: 5px;
            font-size: 24px;
            font-weight: 600;
            border: none;
            outline: none;
            cursor: pointer;
        }

        .shape {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            position: absolute;
            // background: #9EEA6A;
            background: linear-gradient(#e66465, #9198e5);
            //top: -100px;
            //left: calc(50% - 80px);
            top: 15px;
            left: 275px;
            background-image: url(../img/avatar1.png);
            background-size: contain ;
        }

        .account {
            margin-top: 32px;
        }
    }

    .expressionbox {
        display: none;
        width: 320px;
        position: absolute;
        // display: flex;
        flex-direction: column;
        background-color: #EFEFEF;
        border-radius: 5px;
        bottom: 215px;

        .tr {
            display: flex;
            justify-content: space-evenly;


            img {
                padding: 10px;
                width: 40px;
                height: 40px;

                &:hover {
                    background-color: #ccc;
                }
            }
            .selected{
                background-color: #abc;
            }


        }


    }

    ////////////////////////////
    // &:hover .expressionbox  {
    //     display: flex;

    // }
}